package com.hibase.core.rule.entity.ruletable.query;

import com.hibase.core.web.annotation.HibaseValid;
import com.hibase.common.entity.PageBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

/**
 * 描述:
 *
 * @author li-wei-hua
 * @date 2020-04-08 16:11
 */
@Data
@HibaseValid
@ApiModel(value = "TableQuerySearchVO", description = "动态表查询对象")
public class TableQuerySearchVO extends PageBase{

    @ApiModelProperty(value = "表名")
    private String tableName;

    @ApiModelProperty(value = "version表ID")
    private String ruleTableVersionId;

    @ApiModelProperty(value = "查询项对象")
    private Map<String,String> queryMap;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式",example = "desc")
    private String sortModel;

}
